home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 1.9 KB | 109 lines | [TEXT/MPS ] |
- //# Copyright: © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
-
- #ifndef _ODOBJECT_
- #define _ODOBJECT_
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef _ODTYPESM_
- #include "ODTypesM.idl"
- #endif
-
- #ifndef _GEOTYPES_
- #include "GeoTypes.idl"
- #endif
-
- #ifndef _POLYGON_
- #include "Polygon.idl"
- #endif
-
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODObject;
-
- //==============================================================================
- // Classes used by this interface
- //==============================================================================
-
- interface ODExtension;
-
- //==============================================================================
- // ODObject
- //==============================================================================
-
- interface M_ODObject : SOMClass
- {
- #ifdef __SOMIDL__
- implementation
- {
- functionprefix = M_ODObject;
-
- somNew : override;
- };
- #endif //# __SOMIDL__
- };
-
- interface ODObject : SOMObject
- {
- void InitObject();
-
- ODBoolean HasExtension(in ODType extensionName);
-
- ODExtension AcquireExtension(in ODType extensionName);
-
- void ReleaseExtension(in ODExtension extension);
-
- ODSize Purge(in ODSize size);
-
- ODBoolean IsEqualTo(in ODObject object);
-
- void SubClassResponsibility();
-
- #ifdef __SOMIDL__
-
- implementation
- {
- majorversion = 1; minorversion = 0;
-
- metaclass = M_ODObject;
-
- functionprefix = ODObject;
-
- passthru C_h =
- ""
- "#include <ODTypes.h>"
- ""
- "";
-
- passthru C_xh =
- ""
- "#include <ODTypes.h>"
- ""
- "";
-
- override:
- somInit,
- somUninit;
-
- releaseorder:
- InitObject,
- HasExtension,
- AcquireExtension,
- ReleaseExtension,
- Purge,
- IsEqualTo,
- SubClassResponsibility;
-
- };
-
- #endif //# __SOMIDL__
-
- };
-
- #endif // _ODOBJECT_
-
-